<script setup>
import Nav from './nav.vue'
//对象
const props=defineProps({
    name:String,
    age:{
        type:Number,
        required:true,
        default:10
    }
})
console.log(props);


</script>

<template>
    <h3>Footer.vue组件</h3>
    <!-- 具名插槽 -->
     <slot name="footer"/>
</template>

<style scoped>

</style>